﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
        <script src="../jQueryUI/js/jquery-1.7.1.min.js" type="text/javascript"></script>
        <script src="../jQueryUI/js/jquery-1.7.1.min.js" type="text/javascript"></script>
</head>
<body>
<h1 id="1">Teste chamada de função do frame</h1>
<h1><iframe src="index.htm" height="300" width="80%" ></iframe></h1>
<h1>Teste chamada de função do frame</h1>
</body>
</html>
<script type="text/javascript">
    function chamaFuncao() {
        alert('Opa deu certo');
    }
    //f = $(function () { alert('Opa deu certo'); });
    $("#1").click(function () {
        $(this).text("=OO");
        $(function () { alert('Opa deu certo'); });
    });
</script>